﻿package com.gengine.resource.loader
{
    import com.gengine.resource.loader.thread.*;

    public class ImageLoader extends BaseLoader
    {
        public var threadObj:ThreadLoaderObj;

        public function ImageLoader()
        {
            this.threadObj = new ThreadLoaderObj();
            return;
        }// end function

        override public function getClass() : Class
        {
            return ImageLoader;
        }// end function

        override protected function onContentReady(param1) : Boolean
        {
            if (resourceInfo && loaderInfo)
            {
                resourceInfo.data = loaderInfo;
            }
            return true;
        }// end function

    }
}
